<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动学习</title>

    <style>
        div {
            width: 100px;
            height: 100px;
            background-color: red;
            float: left;
        }
    </style>


</head>

<body>

    <div></div>
    <div></div>
    <div></div>



</body>

</html>